package com.kaizige.realtor.Pojo;

import lombok.Data;

import java.util.Date;

@Data
public class record {
	private int id;
	private String tenant;
	private int house_id;
	private Date record_date = new Date();
	private int record_status;
	
	private static int initID = 30;
	
	public record(String tenant,int houseId, int status){
		id = initID++;
		this.tenant = tenant;
		house_id = houseId;
		record_status = status;
	}
}
